<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>购物系统 - 登录</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div class="container">
        <div class="form-container">
            <h2>购物系统登录</h2>
            <form id="loginForm">
                <div class="form-group">
                    <input type="text" id="userName" name="userName" placeholder="用户名" required>
                </div>
                <div class="form-group">
                    <input type="password" id="password" name="password" placeholder="密码" required>
                </div>
                <div class="form-group">
                    <select id="role" name="role" required>
                        <option value="0">买家</option>
                        <option value="1">商家</option>
                    </select>
                </div>
                <div class="form-group">
                    <button type="submit">登录</button>
                </div>
                <div class="form-group">
                    <p>还没有账号？<a href="register.html">立即注册</a></p>
                </div>
            </form>
        </div>
    </div>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="js/login.js"></script>
</body>
</html> 